﻿<%@ Page Language="VB" MasterPageFile="~/Interfaz/MasterPage.master" AutoEventWireup="false" CodeFile="frmAdminOrdenDeCompra.aspx.vb" Inherits="Interfaz_frmAdminOrdenDeCompra" title="Untitled Page" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <br />
    <center>
                <table style="width: 70%">
                    <tr>
                        <td style="width: 24%; height: 20px; text-align: right">
                        </td>
                        <td style="width: 1%; height: 20px; text-align: right">
                        </td>
                        <td style="width: 226px; height: 20px; text-align: left">
                        </td>
                        <td style="width: 24%; height: 20px; text-align: left">
                        </td>
                        <td style="width: 1%; height: 20px; text-align: left">
                        </td>
                        <td style="width: 25%; height: 20px">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6" style="width: 100%; height: 24px; text-align: center; background :black">
                            <strong>&nbsp; INGRESO ORDEN DE COMPRA</strong></td>
                    </tr>
                    <tr>
                        <td colspan="6" style="width: 100%; height: 24px; text-align: center"><br />
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 224px; height: 24px; text-align: left;">
                            Numero de Requisicion </td>
                        <td style="width: 224px; height: 24px; text-align: right">
                            :</td>
                        <td style="width: 226px; height: 24px; text-align: left;">
                            <asp:DropDownList ID="DropReq" runat="server" Width="200px" AutoPostBack="True">
                            </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="DropReq"
                                ErrorMessage="Seleccione Requisicion" InitialValue="Seleccione Requisicion">*</asp:RequiredFieldValidator></td>
                        <td style="width: 60px; height: 24px; text-align: left">
                        </td>
                        <td style="width: 60px; height: 24px; text-align: left">
                        </td>
                        <td style="width: 16px; height: 24px;">
                            </td>
                    </tr>
                    <tr>
                        <td style="width: 224px; height: 24px; text-align: left">
                            Proveedor</td>
                        <td style="width: 224px; height: 24px; text-align: right">
                            :</td>
                        <td style="width: 226px; height: 24px; text-align: left">
                            <asp:DropDownList ID="DropProveedor" runat="server" Width="200px" AutoPostBack="True">
                            </asp:DropDownList></td>
                        <td style="width: 60px; height: 24px; text-align: left">
                        </td>
                        <td style="width: 60px; height: 24px; text-align: left">
                        </td>
                        <td style="width: 16px; height: 24px">
                            </td>
                    </tr>
                    <tr>
                        <td style="width: 224px; height: 24px; text-align: left"><br />
                        </td>
                        <td style="width: 224px; height: 24px; text-align: right">
                        </td>
                        <td style="width: 226px; height: 24px; text-align: left">
                        </td>
                        <td style="width: 60px; height: 24px; text-align: left">
                        </td>
                        <td style="width: 60px; height: 24px; text-align: left">
                        </td>
                        <td style="width: 16px; height: 24px">
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 224px; height: 24px; text-align: left">
                            Atencion Sr(a)</td>
                        <td style="width: 224px; height: 24px; text-align: right">
                            :</td>
                        <td style="width: 226px; height: 24px; text-align: left">
                            <asp:TextBox ID="TxtAtencion" runat="server" Width="200px"></asp:TextBox></td>
                        <td style="width: 60px; height: 24px; text-align: left">
                            Fecha 
                        </td>
                        <td style="width: 60px; height: 24px; text-align: left">
                            :</td>
                        <td style="width: 16px; height: 24px">
                            <asp:TextBox ID="TxtFecha" runat="server" Width="200px"></asp:TextBox>
                            <asp:ScriptManager id="ScriptManager1" runat="server">
                            </asp:ScriptManager>
                             <cc1:calendarextender id="CalendarExtender1" runat="server" TargetControlID="TxtFecha" CssClass="calendarContainer" Format="dd/MM/yyyy"></cc1:calendarextender>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 224px; height: 24px; text-align: left">
                            Condiciones de Pago</td>
                        <td style="width: 224px; height: 24px; text-align: right">
                            :</td>
                        <td style="width: 226px; height: 24px; text-align: left">
                            <asp:TextBox ID="TxtCondVenta" runat="server" Width="200px"></asp:TextBox></td>
                        <td style="width: 60px; height: 24px; text-align: left">
                            Comprador</td>
                        <td style="width: 60px; height: 24px; text-align: left">
                            :</td>
                        <td style="width: 16px; height: 24px">
                            <asp:TextBox ID="TxtComprador" runat="server" Width="200px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 224px; height: 24px; text-align: left">
                            Despachar a</td>
                        <td style="width: 224px; height: 24px; text-align: right">
                            :</td>
                        <td style="width: 226px; height: 24px; text-align: left">
                            <asp:TextBox ID="TxtDespacho" runat="server" Width="200px"></asp:TextBox></td>
                        <td style="width: 60px; height: 24px; text-align: left">
                            Notas</td>
                        <td style="width: 60px; height: 24px; text-align: left">
                            :</td>
                        <td style="width: 16px; height: 24px">
                            <asp:TextBox ID="TxtNotas" runat="server" Width="200px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 100%; height: 24px; text-align: center" colspan="6">
                <asp:GridView ID="GridOrdenCompra" runat="server" AllowSorting="True" AutoGenerateColumns="False" CellPadding="4"
             ForeColor="#333333" GridLines="None"  Width="100%" CssClass="mGrid">
             <RowStyle BackColor="#EFF3FB" />
                    <Columns>
                        <asp:BoundField DataField="ITEM" HeaderText="Item">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="UNIDAD" HeaderText="Unidad">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="DETALLE" HeaderText="Detalle">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="CANTIDAD" HeaderText="Cantidad">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="PRECIOUNITARIO" HeaderText="Precio Unitario">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="CODMATERIAL" HeaderText="Codigo Material" />
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:CheckBox ID="itemSelector" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6" style="width: 100%; height: 24px; text-align: center">
                            <asp:Button ID="Button3" runat="server" Text="Limpiar" Width="80px" />
                            <asp:Button ID="BtnValidar" runat="server" Text="Validar" Width="80px" /></td>
                    </tr>
                </table>
    </center>
</asp:Content>

